package com.yaoran.userauth.service;

import com.yaoran.userauth.entity.User;
import com.yaoran.userauth.utils.PageUtils;
import com.yaoran.userauth.utils.Query;

import java.util.Date;

public interface UserService {
    void addUser(User user, Date createTime);

    PageUtils<User> listUser(Query query,String keyWord);

    void  updateUser(User user);

    void deleteUser(Long id);

    void deleteManyUser(Long[] ids);

    User getUser(Long id);
}
